import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./core/ant-design";
import { get, post, put, del } from "./core/http";

Vue.prototype.$get = get;
Vue.prototype.$post = post;
Vue.prototype.$put = put;
Vue.prototype.$del = del;

import { message, notification, modal } from "ant-design-vue";

Vue.prototype.$message = message;
Vue.prototype.$modal = modal;
Vue.prototype.$notification = notification;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
